const router=require("koa-router")();
const auth=require("../middleware/auth")
const {CartList,addList,delList,bianList}=require("../corelltor/cart")
router.get("/cart/list",CartList)
router.post("/cart/add",addList)
router.delete("/cart/del/:id",auth,delList)
router.put("/cart/bian",bianList)
module.exports=router